package com.ychs.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.io.Serializable;

/**
 * copyright(c)2021 YYB.ALL rights Reserved
 * <p>
 * 描述:权限实体类
 *
 * @author 原玉波
 * @version 1.0
 * @date 2021/5/30
 */
@JsonIgnoreProperties(value = {"handler"})
public class Permission implements Serializable {
    /**
     * 编号
     */
    private int id;
    /**
     *
     */
    private String name;
    /**
     *url菜单或权限项的路径
     */
    private String url;
    /**
     *父级权限
     */
    private int parent;
    /**
     *是否以菜单形式显示
     */
    private int menu;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getParent() {
        return parent;
    }

    public void setParent(int parent) {
        this.parent = parent;
    }

    public int getMenu() {
        return menu;
    }

    public void setMenu(int menu) {
        this.menu = menu;
    }
}
